<include file="Common@Public:header" />
	<div class="amz-banner">
		<div class="am-container" data-am-scrollspy="{animation: 'scale-up', repeat: false}">
			<div class="am-u-md-12">
				<h1>{$category.title}</h1>
				<p>{$category.description}</p>
			</div>
		</div>
	</div>

	<div class="am-container am-margin-top am-margin-bottom" style="min-height:600px;">
		<div class="am-cf am-margin-bottom">
			<ul class="am-nav am-nav-pills">
				{:W('Category/lists', array($category['id'], false))}
			</ul>
		</div>
		<div class="am-cf am-g photo-list">
			<notempty name="list">
			<volist name="list" id="data">
			<div class="am-u-md-3 am-u-sm-6">
				<div class="am-thumbnail am-cf">
					<a href="{:U('Article/detail?id='.$data['id'])}" class="img"><img class="am-img-responsive" src="{$data.cover_id|get_cover='path'}" alt="{$data.title}"/></a>
					<h3 class="am-thumbnail-caption"><a href="{:U('Article/detail?id='.$data['id'])}">{$data.title}</a></h3>
					<p>{:msubstr(op_t($data['description']),0,30)}</p>
					<span class="am-block am-text-right"><i class="am-icon-eye"></i> {$data.view}</span>
				</div>
			</div>
			</volist>
			</notempty>
		</div>

        <article:page cate="$category['id']" listrow="$category['list_row']" child="true" />
	</div>
<include file="Common@Public:footer" />